package com.houtai.bean.dto.black;

import com.houtai.base.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
@ApiModel(value="黑名单搜索所需参数", description="黑名单搜索所需参数")
public class TdBlackListDto extends Page {


    @NotNull(message = "类型不能为空")
    @ApiModelProperty(value="类型1用户2企业3园区", name="black_type")
    private int black_type;

    @NotEmpty(message = "搜索参数不能为空")
    @ApiModelProperty(value="搜索参数", name="search_param")
    private String search_param;

    public int getBlack_type() {
        return black_type;
    }

    public void setBlack_type(int black_type) {
        this.black_type = black_type;
    }

    public String getSearch_param() {
        return search_param;
    }

    public void setSearch_param(String search_param) {
        this.search_param = search_param;
    }
}
